home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextGetSource.z / XmTextGetSource
Encoding:
Text File  |  2003-11-18  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV       XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttSSSSoooouuuurrrrcccceeee((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_G_e_t_S_o_u_r_c_e - A Text function that accesses the source
  10.       of the widget
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Text.h>
  14.  
  15.       XmTextSource XmTextGetSource (wwwwiiiiddddggggeeeetttt)
  16.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  17.  
  18.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.       _X_m_T_e_x_t_G_e_t_S_o_u_r_c_e accesses the source of the Text widget.
  20.       Text widgets can share sources of text so that editing in
  21.       one widget is    reflected in another.  This function accesses
  22.       the source of    one widget so that it can be made the source
  23.       of another widget, using the function    _X_m_T_e_x_t_S_e_t_S_o_u_r_c_e(_3_X).
  24.  
  25.       Setting a new    text source destroys the old text source if no
  26.       other    Text widgets are using that source.  To    replace    a text
  27.       source but keep it for later use, create an unmanaged    Text
  28.       widget and set its source to the text    source you want    to
  29.       keep.
  30.  
  31.       wwwwiiiiddddggggeeeetttt
  32.            Specifies the Text widget ID
  33.  
  34.       For a    complete definition of Text and    its associated
  35.       resources, see _X_m_T_e_x_t(_3_X).
  36.  
  37.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  38.       Returns an XmTextSource value    that represents    the source of
  39.       the Text widget.
  40.  
  41.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  42.       _X_m_T_e_x_t(_3_X).
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.